package org.example.model;
import java.util.*;

/**
 * @author lenovo
 */

public class Save {
    private static final String[] LAST_NAMES =
            {"冯", "卫", "吴", "周", "孙", "朱", "李", "杨", "沈", "王",
                    "秦", "蒋", "许", "赵", "郑", "钱", "陈", "韩"};
    private static final String[] FIRST_NAMES =
            {"与", "丹", "丽", "代", "伟", "何", "倩", "军", "几", "函",
                    "分", "刚", "勇", "向", "娜", "娟", "学", "宇", "宏", "平",
                    "强", "微", "敏", "数", "方", "无", "昊", "明", "杰", "极",
                    "析", "洋", "涛", "磊", "秀", "积", "程", "穷", "空", "级",
                    "续", "艳", "芳", "英", "解", "超", "辉", "连", "量", "鑫",
                    "间", "限", "静"};
    private static HashMap<String,User> hashMapUser = null;
    private static HashMap<String,Course> hashMapCourse = null;
    private static HashMap<String,Score> hashMapScore = null;

    public static void setHashMapUser(HashMap<String,User> hu){
        hashMapUser = hu;
    }

    public static void setHashMapCourse(HashMap<String,Course> hc){
        hashMapCourse = hc;
    }

    public static void setHashMapScore(HashMap<String,Score> hs){
        hashMapScore = hs;
    }

    public static HashMap<String,User> getHashMapUser(){
        return hashMapUser;
    }

    public static HashMap<String,Course> getHashMapCourse(){
        return hashMapCourse;
    }

    public static HashMap<String,Score> getHashMapScore(){
        return hashMapScore;
    }

    public static String[] getLastNames(){
        return LAST_NAMES;
    }

    public static String[] getFirstNames(){
        return FIRST_NAMES;
    }
}
